package com.jkt.rms.commons.utils;

import org.apache.log4j.Logger;
import org.springframework.dao.DataAccessException;

public class RMSDataServiceException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final Throwable OBJECT_NULL = new Throwable("Object can not be null");
	public static final Logger LOG = Logger.getLogger(RMSDataServiceException.class);

	public RMSDataServiceException() {
	}

	public RMSDataServiceException(String message) {
		super(message);
		//LOG.warn(message);
	}

	public RMSDataServiceException(String message, Throwable cause) {
		super(message, cause);
		//LOG.warn(message, cause);
	}

	public RMSDataServiceException(Throwable cause) {
		super(cause);
		//LOG.warn(cause);
	}
	
	public RMSDataServiceException(DataAccessException cause) {
		super(cause);
		//LOG.warn(cause);
	}
}
